package com.scap.dfs.dao;

import java.io.Serializable;
import java.util.List;

import com.scap.dfs.model.Department;
import com.scap.dfs.model.DepartmentPK;

public interface DepartmentDao {
	
	public boolean insert(Department department);
	
	public boolean update(Department department);
	
	public boolean delete(DepartmentPK pk);
	
	public Department findById(DepartmentPK pk);
	
	public List getList();
	
	public List getListPerPage(int amount,int page,String orderByColumnName,String ascOrDesc);

	public List findByAttribute(Department department);
	
	public List findByAttributePerPage(Department department,int amount,int page,String orderByColumnName,String ascOrDesc);

}
